package com.tuo51.core.vo;

import com.tuo51.core.domain.org.Classes;
import com.tuo51.foudation.utils.CopyUtils;
import lombok.Data;

import java.math.BigInteger;
import java.util.Date;

@Data
public class ClassesVO {
    private String id;
    private String name;
    private BigInteger studentNum;
    private Date baseTime;
    private Integer beginMonth;
    private Integer endMonth;
    private Integer category;
    private String remark;
    private Integer limitNum;
    private Date created;
    private Boolean deleted;
    private String inChargeTeacherName;

    public static ClassesVO of(Classes obj){
        ClassesVO ret = new ClassesVO();

        CopyUtils.copyProperties(obj, ret);

        return ret;
    }

}
